/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package data.Services;

import java.util.List;
import model.entity.Comment;
import model.entity.Post;

/**
 *
 * @author ninkuhack
 */
public interface CommentDAOService {    
    public List<Comment> getAllComment();    
    public boolean createComment(Comment comment);      
    public boolean deleteComment(int commentID);  
    public boolean deleteCommentByUsedID(int usedID);
    public boolean deleteCommentByPostID(int postID);  
    public boolean lockComment(Comment comment);    
    public boolean restoreComment(Comment comment);    
    public List<Comment> findCommentUserID(int userID);   
    public List<Comment> findCommentPostID(int postID); 
    public Comment getCommentByID(int commentID);    
    public boolean updateComment(Comment comment);    
}
